package com.common.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @className: applicationConfig
 * @description: TODO 类描述
 * @author: zql
 * @date: 2023/10/15 16:29
 * @Company: Copyright© [日期] by [作者或个人]
 **/
@Component
public class ApplicationConfig {


    private static  String destination;

    public static String getDestination() {
        return destination;
    }

    @Value("${queue.destination}")
    public void setDestination(String destination) {
        ApplicationConfig.destination = destination;
    }
}
